home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000113_news@newsmaster….columbia.edu _Fri May 22 10:06:48 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10770
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 22 May 1998 10:06:48 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA23328
  7.     for kermit.misc@watsun; Fri, 22 May 1998 10:06:47 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Script Problem on AIX 4.1.5
  12. Date: 22 May 1998 14:06:46 GMT
  13. Organization: Columbia University
  14. Lines: 58
  15. Message-ID: <6k40pm$959$1@apakabar.cc.columbia.edu>
  16. References: <01bd8581$c02ea640$0c17110a@m000658.cathaypacific.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8766
  19.  
  20. In article <01bd8581$c02ea640$0c17110a@m000658.cathaypacific.com>,
  21. Cathay Pacific <cpa@cathaypacific.com> wrote:
  22. : We were using AIX 3.2.5 plus kermit 5A with the script attached.  Recently,
  23. : we have upgraded our AIX to 4.1.5 and use kermit 6.0.192.   We then try
  24. : using manual input with the same steps inside the script and successed
  25. : smoothly.   However, when we run it by 'kermit -y .kermrc',  the script
  26. : hangs up after ATDT command.    By listening to the tone of the modem, we
  27. : are sure that we have successfully connected to the remote host already.
  28. : I do not have any clue now, please help.
  29.  
  30. Not that the "clear" command is necessary at all, but try changing
  31. "clear" to "clear input-buffer".  The default clear action is 
  32. "clear device-and-input" which could be throwing out more than you 
  33. want.
  34.  
  35. : Script  .kermrc  >>
  36. : -------------------------------------------------------------
  37. : set line /dev/tty3
  38. : set input timeout-action quit
  39. : set handshake none
  40. : set parity none
  41. : set speed 9600
  42. : set duplex full
  43. : set file type binary
  44. : set flow rts/cts
  45. : output AT\13
  46. : input 10 OK
  47. : output ATZ\13
  48. : input 10 OK
  49. : output ATDTnnnnnnn\13
  50. : input 120 CONNECT
  51. : clear
  52. : output \13
  53. : input 10 First Name:
  54. : output service\13
  55. : input 10 Last Name:
  56. : output control\13
  57. : input 5 (Y/N)?
  58. : output Y
  59. : input 10 Password:
  60. : output mypassword\13
  61. : input 10 Your Choice?
  62. : output Download              
  63. : input 10 Your choice?
  64. : output Kermit               
  65. : input 10 File name? 
  66. : output myfilename\13
  67. : receive /mnt/ascdev/ascs/myfilename
  68. : input 10 Your Choice?
  69. : output G
  70. : quit 
  71.  
  72.  
  73.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  74.                  The Kermit Project * Columbia University
  75.               612 West 115th St #716 * New York, NY * 10025
  76.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org